<?php
	session_start();
	require_once 'LikeView.php';
	require_once 'PageView.php';
	require_once 'LikeController.php';
	
	$view = new LikeView();
	
	$xhtml = "";
	
	$likeController = new LikeController();
	$xhtml .= "Interaktivtest av LikeController: <br/>";
	$xhtml .= $likeController->DoControll();
	$xhtml .= "<br/>";
	
	$xhtml .= "Testfall där 0 gillar: <br/>";
	$xhtml .= $view->CreateLikeButton(0	);
	$xhtml .= "<br/>";
	$xhtml .= "Testfall där 10 gillar: <br/>";
	$xhtml .= $view->CreateLikeButton(10);
	
	
	$pageView = new PageView();
	echo $pageView->GetXHTML10StrictPage("Testar", $xhtml);
	
	var_dump($_GET);
	var_dump($_SESSION);
	
?>